package com.lkd.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkd.entity.NodeEntity;
import com.lkd.entity.VmPolicyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface VmPolicyDao extends BaseMapper<VmPolicyEntity> {

//    @ResultMap(value = "vmPolicyMap")
//    @Select("select * from tb_vm_policy where `name` like CONCAT('%',#{name},'%')")
//    Page<NodeEntity> searchByName(Page<NodeEntity> page, String name);
}
